FROM alpine:latest
RUN mkdir -p /static
WORKDIR /app

COPY app /app
COPY ./startup.sh /app
COPY ../templates /app/templates
COPY ../public /app/public


ENV LOCAL_DIR_HOME /static
ENV MIN_VIDEO_SIZE 40

EXPOSE 8000 

ENTRYPOINT ["/app/startup.sh"]